Adaptive Operating System Abstractions: a Case Study of Multiprocessor Locks
نویسنده
چکیده
Operating system kernels typically ooer a xed and limited set of primitives and underlying mechanisms for use by application programs. However, the attainment of high performance for a variety of parallel applications may require the availability of additional primitives or of variants of existing primitives best suited for speciic applications. Furthermore, operating system mechanisms must also cope with changes over time in the behavior of individual applications. One approach to addressing these needs is to construct conngurable operating system kernels, where conngurability of operating system mechanisms permits their change to suit varying application needs. This paper addresses operating system connguration by considering speciic abstractions. Speciically, we rst motivate dynamic connguration by experimentation with conngurable multiprocessor locks, using synthetic workloads emulating parallel applications. Evaluations of locking patterns of sample parallel codes demonstrate the utility of dynamic lock conngu-ration. Second, an implementation of dynamically conngurable locks results in performance improvements for synthetic multiprocessor programs using them. Third, a generalization of the model and implementation of conngurable locks, termed synchronous, adaptive locks, results in locks that dynamically adapt their behavior to suit the locking patterns of a range of parallel programs. Adaptive locks are implemented and evaluated with application programs on several parallel machines, including a 32-node GP1000 BBN Butterry and a 64-node Kendall Square Supercomputer.
منابع مشابه
Improving Performance by Use of Adaptive Objects: Experimentation with a Configurable Multiprocessor Thread Package
Operating system kernels typically ooer a xed set of mechanisms and primitives. However, recent research shows that the attainment of high performance for a variety of parallel applications may require the availability of variants of existing primitives or additional low-level mechanisms best suited for speciic applications. One approach to addressing this need is to ooer an adaptable and exten...
متن کاملMultiprocessing with the Exokernel Operating System
Exokernel is a minimal operating system kernel that safely multiplexes hardware resources, while leaving all system abstractions to applications. An exokernel exhibits better performance and offers more functionality because applications can provide optimized system abstractions, at the user-level, based on their needs. Current design of the exokernel system, however, does not support multiproc...
متن کاملImplementation of Scalable Blocking Locks Using an Adaptive Thread Scheduler
Blocking locks are commonly used in parallel programs to improve application performance and system throughput. However, most implementations of such locks suuer from two major problems { latency and scalability. In this paper, we propose an implementation of blocking locks using scheduler adaptation which exploits the interaction between thread schedulers and locks. By experimentation using we...
متن کاملPreemption Adaptivity in Time-Published Queue-Based Spin Locks
The proliferation of multiprocessor servers and multithreaded applications has increased the demand for high-performance synchronization. Traditional scheduler-based locks incur the overhead of a full context switch between threads and are thus unacceptably slow for many applications. Spin locks offer low overhead, but they either scale poorly on large-scale SMPs (test-and-set style locks) or b...
متن کاملOptimized Multiprocessor Communication and Synchronization Using a Programmable Protocol Engine
In recent years, multiprocessor designs have converged towards a unified hardware architecture despite supporting different communication abstractions. The implementation of these communication abstractions and the associated protocols in hardware is complex, inflexible, and error prone. For these reasons, some recent designs have employed a programmable controller to manage system communicatio...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1994